package ooday02.practise;

public class Test {
    public static void main(String[] args) {
        Student student=new Student("xyw",23,"地球村",001,90);
        student.eat();
        student.sleep();
        student.play();
        student.study();

        Teacher teacher=new Teacher("xxx",38,"M78",5000);
        teacher.eat();
        teacher.sleep();
        teacher.play();
        teacher.teach();

        Doctor doctor=new Doctor("www",58,"火星","教授");
        doctor.eat();
        doctor.sleep();
        doctor.play();
        doctor.operate("sss");
    }
}
